package com.tiger.poker.enums;

import lombok.Getter;

/**
 * @author Rick on 2/12/19 5:00 PM
 */
@Getter
public enum PlayerStatusEnum {

    /**
     * Not look player status enum.
     */
    NOT_LOOK(1, "未看牌"),
    LOOKED(2, "已看牌"),
    GIVE_UP(3, "弃牌"),
    GAME_OVER(4, "对局结束"),
    JOIN_GAME(-1, "加入游戏"),
    READY(0, "准备中"),
    ;

    private Integer code;

    private String name;

    PlayerStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
